package com.taomu.app.zongchouhuli.moudle.home.contract;

import com.taomu.app.zongchouhuli.entity.BaseChangeResponse;
import com.taomu.app.zongchouhuli.framework.BasePresenter;
import com.taomu.app.zongchouhuli.framework.BaseView;
import com.taomu.app.zongchouhuli.http.res.ResMainProductListEntity;
import com.taomu.app.zongchouhuli.http.res.ResProductDetailEntity;
import com.taomu.app.zongchouhuli.http.res.ResProductDetailInfoEntity;
import com.taomu.app.zongchouhuli.moudle.home.entity.ProductHistEntity;
import com.taomu.app.zongchouhuli.moudle.index.entity.ProductEntity;

import java.util.List;

public class HomeProductDetailContract {

    public interface Presenter extends BasePresenter {

        void getBaseProductInfo(String _id);

        void getSpecialListData();

        void getBuyHistListData();

        void getProductListData();

        void getProductRecommond();

        void getShare(String productid,String userid);

        void detch();
    }

    public interface View extends BaseView<Presenter> {
        void setSpecialListData(List<String> mData);

        void setBuyHistListData(List<ProductHistEntity> mData);

        void setProductListData(List<ProductEntity> mData);

        void setBaseInfo(BaseChangeResponse<ResProductDetailInfoEntity> mData);

        void setRecommond(ResMainProductListEntity resProductEntities);

        void setShareUrl(String url);
    }
}
